package com.youlin.service;

import com.youlin.dto.*;
import com.youlin.dto.req.EditAppReqDto;
import com.youlin.dto.req.FindAllAppReqDto;
import com.youlin.dto.res.AppInfoResDto;
import com.youlin.entities.BygAdmin;
import com.youlin.entities.BygAppInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

public interface BygAppInfoService extends IService<BygAppInfo> {

    PageDataResDto<List<AppInfoResDto>> findAppInfos(BygAdmin currentAdmin,
                                        FindAllAppReqDto data, PageInfo pageInfo);

    BaseResDto<Status, String> editAppInfo(EditAppReqDto data);

    BaseDataResDto<AppInfoResDto> findAppInfoById(Integer data);

}
